from lib.net.index import http
from utils import device

def get_ws2812_info():
    """
    获取ws2812信息
    """
    payload = {
        "device_id": device.get_id()
    }
    print("send fetch ws2812 info request")
    resp = http.GET("https://www.hanxiaoxin.cn:8443/ws2812/info", payload)
    return resp